package com.kangyi.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Blank
 * @since 2025-02-10
 */
@Data
@ApiModel(value = "公益活动数据返回")
@AllArgsConstructor
@NoArgsConstructor
public class PublicActivityListVO implements Serializable {

    @ApiModelProperty("主键")
    private Integer id;
    @ApiModelProperty("活动名称")
    private String activityName;
    @ApiModelProperty("简介")
    private String description;
    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;
    @ApiModelProperty("活动状态：1即将开始 2进行中 3已结束")
    private Integer status;
    @ApiModelProperty("报名总人数")//根据activity_signup表计算报名总人数
    private Integer total;
    @ApiModelProperty("活动图片")//只查询sort为1的图片
    private PublicActivityImgVO publicActivityImgVO;
}
